package com.atguigu.spzx.manager.entity;

import java.math.BigDecimal;

import java.util.Date;

import com.atguigu.spzx.common.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 付款信息表
 * </p>
 *
 * @author flyduck
 * @since 2023-11-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="PaymentInfo对象", description="付款信息表")
public class PaymentInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "付款方式：1-微信 2-支付宝")
    private Integer payType;

    @ApiModelProperty(value = "交易编号（微信或支付）")
    private String outTradeNo;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "交易内容")
    private String content;

    @ApiModelProperty(value = "支付状态：0-未支付 1-已支付")
    private String paymentStatus;

    @ApiModelProperty(value = "回调时间")
    private Date callbackTime;

    @ApiModelProperty(value = "回调信息")
    private String callbackContent;

    private Integer isDeleted;


}
